<script setup lang="ts">
import { onMounted } from 'vue'

const onResize = (a: any, b: any, c: any) => {
  console.log(a, b, c);
}

onMounted(() => {
})

</script>

<template>
  <div>
    <div>TestResize</div>
    <textarea v-resize="onResize" placeholder="请输入" name="resize" id="resize" cols="30" rows="10"></textarea>
  </div>
</template>

<style>
.resize {
  resize: both;
  overflow: auto;
}
</style>
